img,object,embed,iframe {max-width:98%}
img {height:auto}

@media (max-width:1150px) {
  .outer-wrapper {
    width:auto;
    margin:0 30px;
  }
  .tab-links {height:auto}
  .tab-links li {
    float:none;
    display:block;
    width:auto;
    margin:0 0 5px;
    font-size:120%;
  }
  .left-col .sub-col {
    float:none;
    display:block;
    width:auto;
  }
  .posts-lists li {margin-left:0}
  .quick-tool-block .pull-left,
  .quick-tool-block .pull-right {
    float:none;
    width:auto;
    display:block;
  }
  .quick-tool-block .pull-right {margin-top:1em}
}

@media (max-width:1010px) {
  .search-form {
    position:static;
    margin:1em 0 0;
  }
  .slideshow {display:none}
  .main-col .left-col,
  .main-col .right-col {
    float:none;
    display:block;
    width:auto;
  }
  .left-col .sub-col {
    float:left;
    width:50%;
  }
  .vertical-side-floating-bar,
  .main-col .right-col .sub-col {display:none}
  .item .main-col .left-col,
  .static_page .main-col .left-col,
  .item .main-col .right-col,
  .static_page .main-col .right-col {width:auto}
  .post {margin-left:0}
}

@media (max-width:770px) {
  .left-col .sub-col {
    width:auto;
    float:none;
  }
  .main-photo {margin-right:0}
  .about-islam-nav,
  .about-islam-nav ul {height:auto}
  .about-islam-nav li,
  .about-islam-nav li.first-child {
    float:none;
    display:block;
    width:auto;
    margin:0 0;
  }
  .top-links,
  .top-links ul {height:auto}
  .top-links li {
    width:50%;
    margin:0 0 2px;
  }
  .top-links li a {
  border:none;
  }
  .top-links > ul > li > a > span {
    padding:5px 10px;
    margin:0 1px;
  }
  .footer-group .widget-item {width:50%}
}

@media (max-width:540px) {
  .footer-group .widget-item {
    float:none;
    display:block;
    width:auto;
  }
}